public class SDKTools
{
	private static SDKTools m_Instance;

	public static SDKTools instance
	{
		get
		{
			if (m_Instance == null)
			{
				m_Instance = new SDKTools();
			}
			return m_Instance;
		}
	}

	public bool CanPlayVedio()
	{
		return AdManagerOld.instance.curAd.HasVideo();
	}

	// 获取体力
	public void PlayVedioRecoverPhysical()
	{
		AdManager.single.ShowVideo(delegate
		{
			EternalNode.Instance.SendMessage("VedioPlayedCallback_Launch");
		});
		/* AdManagerOld.instance.PlayVideo(4, delegate
		{
			EternalNode.Instance.SendMessage("VedioPlayedCallback_Launch");
		}); */
	}

	public void PlayVideoByDraw()
	{
		AdManager.single.ShowVideo(delegate
		{
			EternalNode.Instance.SendMessage("VedioPlayedCallback_Draw");
		});
		/* AdManagerOld.instance.PlayVideo(4, delegate
		{
			EternalNode.Instance.SendMessage("VedioPlayedCallback_Draw");
		}); */
	}

	//获取筹码
	public void PlayVideoRecoverChips()
	{
		AdManager.single.ShowVideo(delegate
		{
			EternalNode.Instance.SendMessage("VedioPlayedCallback_GetChips");
		});
		/* AdManagerOld.instance.PlayVideo(5, delegate
		{
			EternalNode.Instance.SendMessage("VedioPlayedCallback_GetChips");
		}); */
	}

	public void PlayVideoByGift()
	{
		/* AdManagerOld.instance.PlayVideo(6, delegate
		{
			EternalNode.Instance.SendMessage("VedioPlayedCallback_Gift");
		}); */
	}

	public void PlayVedioRecoverQuickFireTime()
	{
		/* AdManagerOld.instance.PlayVideo(3, delegate
		{
		}); */
	}

	public void PlayVedioRecoverMissionShots()
	{
		/* AdManagerOld.instance.PlayVideo(1, delegate
		{
		}); */
	}
}
